/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Robot;

import lejos.robotics.subsumption.Behavior;

/**
 *
 * @author zach
 */
public class TurnAround implements Behavior{

    public boolean takeControl() {
        return Constants.conditionCode==Constants.isTarp;
    }

    public void action() {
        Configureation.getPilot().rotate(180);
        Constants.conditionCode=0;
    }

    public void suppress() {
    }

}
